package com.xiaozhengkeji.starbootserver.base.entitys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * sys_user_entity
 */
@ApiModel(value = "sys_user_entity")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUserEntity implements Serializable {
    /**
     * 索引
     */
    @ApiModelProperty(value = "索引")
    private Integer uid;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String username;

    /**
     * 密码 进行加盐Hash 不可逆
     */
    @ApiModelProperty(value = "密码 进行加盐Hash 不可逆")
    private String password;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String mailbox;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private Long phone;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime creationTime;

    /**
     * 角色
     */
    @ApiModelProperty(value = "角色")
    private String role;

    /**
     * 权限
     */
    @ApiModelProperty(value = "权限")
    private String permission;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    private static final long serialVersionUID = 1L;
}